package com.c8a.validation.service;

import com.c8a.validation.entity.Teacher;

import javax.validation.Valid;

/**
 * @Author C8A
 * @Date 2022-04-23 20:51
 * @Email 1912327276@qq.com
 */

public interface TeacherService1 {
    /**
     *  校验Teacher接口
     * @param teacher
     * @return
     */
    Teacher validTeacher(@Valid Teacher teacher);
}
